package appapi.entity.record;

import appapi.common.BaseEntity;
import appapi.entity.app.SelfcheckDetailEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/06/02 19:34
 */
@ApiModel
@Data
public class SelfcheckModel extends BaseEntity {
    /**
     * 记录ID
     */
    @ApiModelProperty(value = "记录ID")
    private Long selfId;

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    private Long equipId;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    private String equipNo;

    /**
     * 巡检项目
     */
    @ApiModelProperty(value = "巡检项目")
    private Long itemId;

    /**
     * 整改要求
     */
    @ApiModelProperty(value = "整改要求")
    private String expRequire;

    /**
     * 整改要求
     */
    @ApiModelProperty(value = "检测要求")
    private String selfRequire;

    /**
     * 0-通过;1-未通过
     */
    @ApiModelProperty(value = "0-通过;1-未通过")
    private Integer slefResult;

    /**
     * 检查描述
     */
    @ApiModelProperty(value = "检查描述")
    private String selfNote;

    /**
     * 巡检人员
     */
    @ApiModelProperty(value = "操作人员")
    private Long operId;

    /**
     * 0-已处理;1-未处理
     */
    @ApiModelProperty(value = "0-已处理;1-未处理")
    private Integer selfState;

    @ApiModelProperty(value = "自检详情")
    private List<SelfcheckDetailEntity> detail;


}
